package stu.aistar.day01.homeworkj;

public class EmployeeTest {
    public static void main(String[] args) {
        Employee boss = new Employee(0,"Boss",1000);
        Employee emp1 = new Employee(1,"tom",1000);
        Employee emp2 = new Employee(2,"jack",200);
        Employee emp3 = new Employee(3,"Barbossa",3000);
        Employee emp4 = new Employee(4,"tony",1500);
        boss.setEmployees(new Employee[0]);
        boss.addEmp(emp1);
        boss.addEmp(emp2);
        boss.addEmp(emp3);
        boss.addEmp(emp4);
        boss.delById(2);
        boss.delByPrice(1500);
        boss.findall();
        boss.count();

    }



}
